﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhiJiao.Models.Entities.Enums;
using ZhiJiao.Service.Dto;

namespace ZhiJiao.Service.Abstracts
{
    public interface IModuleService
    {
        BackJson AddModule(ModuleDto model);

        BackJson EditModuleSubmit(ModuleDto module);

        BackJson GetModuleList();

        BackJson DeleteModule(long id);

        BackJson SearchModule(bool? flag, string? name,ModuleType? type);

        BackJson GetParentModules(long? id, ModuleType type);
    }
}
